package priv.yiyuan.example.composite.approvar1.handler;

import priv.yiyuan.example.composite.approvar1.ApprovalRequest;

/**
 * 审批处理者接口
 * <p>
 * 责任链模式-抽象处理者
 *
 * @author YiYuan
 * @data 2025/8/29
 * @apoNote
 */
public interface ApprovalHandler {

    void setNextHandler(ApprovalHandler nextHandler);

    void handleRequest(ApprovalRequest request);

}
